package com.example.springbootlearn.config;


import com.example.springbootlearn.config.CircularDependencyA;
import com.example.springbootlearn.config.CircularDependencyB;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CircularDependencyTest {

    public static void main(String[] args) {
//        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
//        CircularDependencyB a = context.getBean("b", CircularDependencyB.class);
//        CircularDependencyA b = context.getBean("a", CircularDependencyA.class);
    }


}